package com.kun.service_train.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;
import org.joda.time.DateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author testjava
 * @since 2021-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Train对象", description="")
public class Train implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "主讲人")
    private String teacher;

    @ApiModelProperty(value = "授课地点")
    private String address;

    @ApiModelProperty(value = "发布时间")
    private Date rTime;
    @ApiModelProperty(value = "围栏id")
    private int fenceIds;
    @ApiModelProperty(value = "发布标题")
    private String title;
    @ApiModelProperty(value = "经度")
    private double longitude;
    @ApiModelProperty(value = "纬度")
    private double latitude;
    @ApiModelProperty(value = "状态 0:未开启定时发布  1:开启发布")
    private Integer state;

    @ApiModelProperty(value = "删除0：不删除1：删除")
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    private Date grmCreate;

    @ApiModelProperty(value = "修改时间")
    private Date gmtModified;

    @ApiModelProperty(value = "备注1")
    private String remark1;

    @ApiModelProperty(value = "备注2")
    private String remark2;


}
